<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="generator" content="Adobe RoboHelp - www.adobe.com">
<title>Adding text and data to documents</title>
<link rel="stylesheet" href="userhelp_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{   document.write("<link rel='stylesheet' href='userhelp.css'>");}
//-->
</script>
<style type="text/css">
<!--
ul.whs1 { list-style:disc; }
ul.whs2 { list-style:square; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
  if (innerWidth != origWidth || innerHeight != origHeight)
     location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
	origWidth = innerWidth;
	origHeight = innerHeight;
	onresize = reDo;
}
onerror = null; 
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whlang.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
	if (window.addTocInfo)
	{
	addTocInfo("Creating and modifying documents and dashboards\nCreating and formatting a document\nAdding and editing text and data in a document\nAbout adding text and data to documents");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");

	}
	if (window.writeBtnStyle)
		writeBtnStyle();

	if (window.writeIntopicBar)
		writeIntopicBar(1);

	if(1)
	{
	
	}

	if (window.setRelStartPage)
	{
	setRelStartPage("MicroStrategy_Web_Help.htm");

		autoSync(1);
		sendSyncInfo();
		sendAveInfoOut();
	}
}
else
	if (window.gbIE4)
		document.location.reload();

//-->
</script>
<h1>Adding text and data to documents</h1>
<p>To add report data and report objects to a document, see 
<a HREF="Add_dataset_to_document.htm">Adding, 
 changing, or removing a dataset report</a>.</p>
<p>Text is displayed in documents through text fields. Text fields are 
 a type of control. They can be metrics or attributes from a dataset. They 
 can also be page numbers or descriptive labels. Following are the different 
 types of text fields:</p>
<ul type="disc" class="whs1">
	
<li class=p><p><span style="font-weight: bold;"><B>Static text</B></span>: 
 This text does not change and serves as a label. When you view the document 
 as a PDF, static text is displayed with the same formatting as in Design 
 Mode. For steps, see 
<a HREF="Add_data_fields_to_document.htm">Adding 
 data fields to a document</a>.</p></li>
	
<li class=p><p><span style="font-weight: bold;"><B>Dynamic text</B></span>: 
 This text is populated by the document or dataset. Dynamic text is always 
 included within braces { }. There are two types of dynamic text:</p></li>
	<ul type="square" class="whs2">
		
<li class=p><p>
<a HREF="Add_data_fields_to_document.htm" style="font-weight: bold;">Data 
 field</a>: This is populated from a dataset with data that originated 
 in the data warehouse (or an Intelligence Server cache). A data field 
 is only a reference to an object on a report. The object can be a metric, 
 attribute, consolidation, or custom group. If the object referenced by 
 a data field is removed from the dataset report, the data field will become 
 static text when the PDF is created.</p></li>
		
<li class=p><p>
<a HREF="Add_auto_text_codes.htm" style="font-weight: bold;">Auto 
 text code</a>: This is populated by the document or dataset. It consists 
 of the document's or dataset's properties rather than data from the data 
 warehouse. It includes information such as the document's name, page number, 
 execution time, and so on. Auto text codes can be considered as a type 
 of variable. For the full list of available codes, see 
<a HREF="Auto_text_codes_datasets.htm">Auto 
 text codes: datasets</a> and 
<a HREF="Auto_text_codes_documents.htm">Auto 
 text codes: documents</a>.</p></li>
	</ul>
	
<li class=p><p>
<a HREF="Combining_types_of_text_fields.htm" style="font-weight: bold;">A 
 combination of any or all of the types</a>: You can use a combination 
 of different types of text fields in a single text field.</p></li>
</ul>
<p>&nbsp;</p>
<h3>Related topics</h3>
<ul type="disc" class="whs1">
	
<li class=p><p>
<a HREF="Editing_text_fields.htm">Editing text fields</a></p></li>
	
<li class=p><p>
<a href="Format_text_fields.htm">Formatting text fields</a></p></li>
	
<li class=p><p>
<a HREF="Distribute_controls.htm">Distributing controls 
 on documents</a></p></li>
	
<li class=p><p>
<a HREF="Move_controls_on_documents.htm">Moving controls 
 on documents</a></p></li>
	
<li class=p><p>
<a HREF="Ordering_controls_on_documents.htm">Ordering 
 controls on documents</a></p></li>
	
<li class=p><p>
<a HREF="Sizing_controls_on_documents.htm">Sizing controls 
 on documents</a></p></li>
	
<li class=p><p>
<a HREF="Totals_and_summary_metrics.htm">Calculating 
 totals and summary metrics in documents</a></p></li>
</ul>
<script type="text/javascript" language="javascript1.2">
<!--
highlightSearch();
if (window.writeIntopicBar)
	writeIntopicBar(0);
if(0)
{

}
//-->
</script>
</body>
</html>
